<?php
class NodeModel extends Model
{
	// 自动验证设置
	protected $_validate = array
	( 
		array('name','require','编码必填!',1),
		array('title','require','名称必填!',1), 
		array('pid','number','上级类别,必须是数字!',2),
		array('sort','number','排序号,必须是数字!',2),
	);



	
}
?>